<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>防抖与节流</title>
  <script src="https://unpkg.com/vue@3/dist/vue.global.js"></script>
  <script src="防抖1.js"></script>
  <script src="防抖2.js"></script>
  <script src="节流.js"></script>
</head>

<body>
  <h1>
    vue组件, 脱离单文件组件, 使用组件对象
  </h1>
  <div id="app"></div>
  <div id="app2"></div>
  <div id="app3"></div>
  <script>
    const { createApp,ref,customRef } = Vue
    createApp(防抖1).mount('#app')
    createApp(防抖2).mount('#app2')
    createApp(节流).mount('#app3')
  </script>
</body>

</html>